package com.oo.abstractAndInterface_6.bicycle;

/**
 * BKTest--${description}
 *
 * @author: Jovi
 * @createTime: 2017-04-13 11:33
 **/
public class BKTest {

    public static void main(String[] args) {

        Bicycle foldingBicycle = new FoldingBicycle("Giant","red");
        foldingBicycle.run();
        System.out.println("---------------");

        Bicycle motorizedBicycle = new MotorizedBicycle("aima", "blue", 2, 1, "sony");
        motorizedBicycle.run();

        System.out.println("---------------");

        Bicycle tandemBicycle = new TandemBicycle();
        tandemBicycle.setColor("black");
        tandemBicycle.setName("fire cloud");

        tandemBicycle.run();
    }
}
